package cn.stronglink.asset.module.datacount.mapper;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.plugins.Page;

import cn.stronglink.asset.module.datacount.vo.CabinetCountDetailVo;
import cn.stronglink.asset.module.datacount.vo.DepartmentInfo;
import cn.stronglink.asset.module.datacount.vo.DirectoryEntity;
import cn.stronglink.asset.module.datacount.vo.ItAssetBrandVo;
import cn.stronglink.asset.module.datacount.vo.SearchDetailParam;
import cn.stronglink.asset.module.datacount.vo.SearchParam;
@SuppressWarnings("rawtypes")
public interface DataCountMapper {

	
	List<HashMap> getAssetType(@Param("parentdIds")List<Long> parentdIds,@Param("typeIds")List<Long> typeIds);

	List<HashMap> getAssetTypeCount(SearchParam param);

	List<HashMap> getAssetStatus();

	List<HashMap> getAssetStatusCount(SearchParam param);

	List<HashMap> getAssetBrand(@Param("brandIds")List<Long> brandIds);

	List<HashMap> getAssetBrandCount(SearchParam param);

	List<HashMap> getAssetDepartCount(SearchParam param);

	List<DirectoryEntity> getRoom();

	List<DirectoryEntity> getAssetBrand1();

	List<DepartmentInfo> getDepartmentInfoList(@Param("pid")Long pid);

	List<DepartmentInfo> getDepartmentChildrenInfoList(@Param("pid")Long id);

	List<Long> getDepartParentIds(@Param("childrenIds")List<Long> childrenIds);

	List<HashMap> getAssetDepart(@Param("ids")List<Long> ids);

	List<ItAssetBrandVo> queryBrandDataDetail(Page<ItAssetBrandVo> page,SearchDetailParam param);

	List<ItAssetBrandVo> queryDepartDataDetail(Page<ItAssetBrandVo> page, SearchDetailParam param);

	List<ItAssetBrandVo> queryStatusDataDetail(Page<ItAssetBrandVo> page, SearchDetailParam param);

	List<ItAssetBrandVo> queryTypeDataDetail(Page<ItAssetBrandVo> page, SearchDetailParam param);

	List<HashMap> getServiceLife();

	List<HashMap> getServiceLifeCount(SearchParam param);

	List<ItAssetBrandVo> queryServiceLifeDetail(Page<ItAssetBrandVo> page, SearchDetailParam param);

	List<HashMap> getCabinetCount(SearchParam param);

	List<CabinetCountDetailVo> queryCabinetCountDetail(Page<CabinetCountDetailVo> page, SearchDetailParam param);

}
